@echo off
for /f "tokens=5" %%i in ('netstat -ano ^| findstr :3000') do (
  taskkill /PID %%i /F
)
echo Server on port 3000 has been stopped.